Skip to content

Various Improvements#92

Merged
Rahix merged 8 commits intomainfrom
improvements
Dec 9, 2025
Merged

Various Improvements#92
Rahix merged 8 commits intomainfrom
improvements

Conversation

@Rahix
Copy link
Owner

@Rahix Rahix commented Dec 9, 2025

End of year, do some cleaning.

Rahix added 8 commits December 9, 2025 13:25
Keeping overflow-checks enabled in release does not measurably impact
performance so there is no reason to risk hidden overflows by disabling
them.

Also switch to panic=abort as we do not want unwinding to happen.
`.write()` may only perform a partial write and then returns the number
of bytes written.  Use `.write_all()` instead which blocks until
everything was written.
These are dangerous because they silently truncate.
This relies on a relatively recent compiler feature. Let's not raise the
MSRV just to please clippy.
@Rahix Rahix merged commit 6c36fa7 into main Dec 9, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant